package com.makemoney.miniprogram.modules.users.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_resource")
public class Resources {
    @TableId
    private Long id;
    private Long parentId;
    private String resourceKey;
    private String resourceUrl;
    private String resourceName;
    private String resourceIcon;
    private String methods;
    private Integer resourceType;
    private Integer leaf;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
    @TableLogic
    private Short deleted;
}
